Modifying the standard event handlers

The Meridian360 Portal integration setup files include numerous pre-defined script event handlers that must be imported into the vault configuration. These are defined in the files that you installed as described in Installing the files.

To modify the standard event handlers:

  1. Open the setup file Configuration\M360 Script.vbs in any text editor and find the Event Handler Templates section.
  2. In Configurator, open the Meridian Enterprise Script Editor.
  3. For each procedure template in Event Handler Templates, find the corresponding event handler in the Events and Procedures list in the script editor.
  4. Modify the existing event handler to include the statements from the template. If the event handler is not already defined in the vault script, create it using the template.
  5. Also copy and paste the CalculateName function to the end of the vault script. It is necessary for the event handlers.
  6. Click OK to save your changes.

Note    When a new document is created in a project, the properties should be set that are specified by the settings ProjectNumberProperty and DocumentNumberProperty as described in Configuring the vault settings. This can be done either by new document wizard pages or by the event DocGenericEvent_AfterNewDocument as implemented in the event template.